package com.zcyppyh.ddns.config;

import java.util.List;

/**
 * @author: zcyppyh
 * @time: 2023/8/21 11:45
 * @version: 1
 * @desc: 项目配置
 */
public class ProjectConfig {

    /**
     * 域名
     */
    private String domain;
    /**
     * 阿里云access配置
     */
    private AliAccess aliAccess;
    /**
     * 定时任务
     */
    private List<String> cronList;
    /**
     * 解析记录
     */
    private List<Record> recordList;

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public AliAccess getAliAccess() {
        return aliAccess;
    }

    public void setAliAccess(AliAccess aliAccess) {
        this.aliAccess = aliAccess;
    }

    public List<String> getCronList() {
        return cronList;
    }

    public void setCronList(List<String> cronList) {
        this.cronList = cronList;
    }

    public List<Record> getRecordList() {
        return recordList;
    }

    public void setRecordList(List<Record> recordList) {
        this.recordList = recordList;
    }

    @Override
    public String toString() {
        return "ProjectConfig{" +
                "domain='" + domain + '\'' +
                ", aliAccess=" + aliAccess +
                ", cronList=" + cronList +
                ", recordList=" + recordList +
                '}';
    }
}
